package cn.rengy.web.framework.sys.validate;

import java.util.List;
import java.util.concurrent.Callable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.rengy.web.framework.cache.CacheService;
import cn.rengy.web.framework.sql.DbService;

@Service
public class SysValidateService {

	@Autowired
	private DbService dbService;
	
	@Autowired
	private CacheService cacheService;
	
//	public List<TranscodeColumn> getTrancodeColumn(Long sys_resource_uri_id){
//		return cacheService.getLocalCacheIncludeNull("transCodeCache", transCodeKey, new Callable<List<TranscodeColumn>>() {
//			@Override
//			public List<TranscodeColumn> call() throws Exception {
//				List<TranscodeColumn> list = dbService.queryForBeanList("select_transcode_bykey", TranscodeColumn.class, transCodeKey);
//				return list;
//			}
//		});
//	}
}
